<h1>Roles List</h1>

<table>
  <thead>
    <tr>
      <th>Roleid</th>
      <th>Rolename</th>
    </tr>
  </thead>
  <tbody>
    <?php foreach ($roles as $role): ?>
    <tr>
      <td><a href="<?php echo url_for('role/edit?roleid='.$role->getRoleid()) ?>"><?php echo $role->getRoleid() ?></a></td>
      <td><?php echo $role->getRolename() ?></td>
    </tr>
    <?php endforeach; ?>
  </tbody>
</table>

  <a href="<?php echo url_for('role/new') ?>">New</a>
